<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<style>
.archives fieldset {
    border:1px solid #d8dfe5;
    padding: 5px 0px 5px 5px;
}
.archives fieldset legend {
    margin-left: 2px;
}
</style>
<script type="text/javascript">
    function searchProductionControlArchives() {
        var productionControlNum = $("input[name='productionControlNum']", navTab.getCurrentPanel()).val();
        if(productionControlNum && productionControlNum != ""){
            navTab.reload("${rc.getContextPath()}/manage/productionControl/controlArchives", {data:{'productionControlNum':productionControlNum}, navTabId:"${navTabId!''}"});
        }else{
            alertMsg.error("请输入订单再查询!");
        }
    }
</script>
<div class="pageHeader">
    <div class="searchBar">
        <div class="searchBar">
            <ul class="searchContent">
            <li ><label><@label key='productionControlNum.C,colon'>生产管理编号：</@label></label> <input type="text" name="productionControlNum" <#if productionControlNum??>value="${productionControlNum!''}"</#if> /></li>
            <li class="query">
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="button" onclick="searchProductionControlArchives();"><@label key="query.B">查询</@label></button>
                    </div>
                </div>
             </li>
            </ul>
        </div>
    </div>
</div>
<#if operationArchives??>
    <div class="tabs archives" currentIndex="0" eventType="click">
        <div class="tabsHeader">
            <div class="tabsHeaderContent">
                <ul>
                    <li id="productionControl"><a href="javascript:;" id="productionControlDetail"><span><@label key='orderForm.C,detail.C'>订单详情</@label></span></a></li>
                    <li id="controlConfirm"><a href="javascript:;" id="controlConfirmDetail"><span><@label key='confirmDetail.C'>报工详情</@label></span></a></li>
                    <li id="controlInspect"><a href="${rc.getContextPath()}/manage/inspectRecord/productionControlInspect?<#if productionControlNum??>controlNum=${productionControlNum!''}</#if>" class="j-ajax" id="inspectDetail"><span><@label key='inspect.C,'>过程检验</@label></span></a></li>
                </ul>
            </div>
        </div>
        <div class="tabsContent">
            <div layoutH="80" style="overflow-y: auto;">
                <#include "/pp/productionControlArchives/productionDetail.html">
            </div>
            <div id="archives_controlConfirmDetails">
                <#include "/pp/productionControlArchives/confirmDetail.html">
            </div>
            <div></div>
        </div>
    </div>
    <#else>
    <div class="treeTip"><@label key="noData.C">无数据可展现</@label></div>
</#if>